package com.maserb.monitor.entity;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 角色表
 * @author jimmy
 */
@Entity
@Table(name = "t_s_role")
public class Role extends BaseEntity implements java.io.Serializable {
	private String roleName;//角色名称
	private String roleCode;//角色编码
	private String createBy;
	private String fmtCreateDate;
	private String description;

	@Column(name = "rolename", nullable = false, length = 100)
	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	@Column(name = "rolecode", length = 10)
	public String getRoleCode() {
		return this.roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	@Column(name = "description", length = 255)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Transient
	public String getFmtCreateDate() {
		return fmtCreateDate;
	}

	public void setFmtCreateDate(String fmtCreateDate) {
		this.fmtCreateDate = fmtCreateDate;
	}
}